﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YmtRpc.Domain.Model
{
    public class SamplingStatistics
    {
        /// <summary>
        /// 平均每秒请求数
        /// </summary>
        public int RequestsPerSecond { get; set; }

        /// <summary>
        /// 每次请求平均耗时
        /// </summary>
        public int TimePerRequest { get; set; }

        /// <summary>
        /// 采样时间段内总接口请求数
        /// </summary>
        public long TotalRequestTimes { get; set; }

        /// <summary>
        /// 采样时间段内总接口请求失败数
        /// </summary>
        public long TotalFailTimes { get; set; }
    }
}
